package cn.lbf.stuniversity.equipmenttype.entity;
import jakarta.persistence.*;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.ToString;

@ToString
@Data
@NoArgsConstructor
@AllArgsConstructor
@Entity
@Table(name = "stdx_equipment_type")
public class EquipmentType {
    @Id
    @Column(name = "equipment_type_id")
    @JsonProperty("equipmentTypeId")
    private String equipmentTypeId;

    @Column(name = "equipment_type_name")
    @JsonProperty("equipmentTypeName")
    private String equipmentTypeName;

    @Column(name = "equipment_type_full_name")
    @JsonProperty("equipmentTypeFullName")
    private String equipmentTypeFullName;

    @Column(name = "equipment_type_code")
    @JsonProperty("equipmentTypeCode")
    private String equipmentTypeCode;

    @Column(name = "equipment_type_number")
    @JsonProperty("equipmentTypeNumber")
    private Integer equipmentTypeNumber;

    @Column(name = "is_leaf")
    @JsonProperty("isLeaf")
    private Integer isLeaf;

    @Column(name = "status_flag")
    @JsonProperty("statusFlag")
    private Integer statusFlag;

    @Column(name = "remarks")
    @JsonProperty("remarks")
    private String remarks;

    @Column(name = "sort_index")
    @JsonProperty("sortIndex")
    private Integer sortIndex;

    @Column(name = "lev")
    @JsonProperty("lev")
    private Integer lev;

    @Column(name = "space")
    @JsonProperty("space")
    private String space;


}